<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>来源</title>
		<link rel="stylesheet" href="css/bootstrap.min.css" />
		<link rel="stylesheet" href="css/public.css" />
		<link rel="stylesheet" href="css/font-awesome.css" />
		<style>
			.zd{margin-right: 15px;}
			.zd:last-child{margin-right: 0px;}
			.more{color: #ed7500 !important;position:relative;z-index: 99;padding-bottom: 5px;}
			.more i{margin-left: 5px;}
			.more-ul{width:120px;position: absolute;background: #ffffff;border:1px solid #d4d4d4;left:-40px;top:20px;display: none;}
			.more-ul li{padding:8px 10px; color: #666;}			
		</style>
	</head>
	<body>
		<div class="header">
			<div class="header-bd">
				<div class="nav">
					<span class="fa fa-bars" aria-hidden="true"></span>
					导航
					<span class="fa fa-caret-down" aria-hidden="true"></span>
				</div>
				<div class="nav-list">
					<div>
						<label>电影</label>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
					</div>
					<div>
						<label>电视剧</label>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
					</div>
					<div>
						<label>动漫</label>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
						<a href="#">动作</a>
					</div>
				</div>
				<div class="logo"><img src="img/logo.png" alt="" /></div>
				<div class="search">
					<div class="top">
						<div class="input-search">
							<input type="text" name="" id="" value="" />
							<a href="#" class="fa fa-search" aria-hidden="true"></a>
						</div>
						
					</div>
					<ul>
						<li><a href="#">权利的游戏</a></li>
						<li><a href="#">纸牌屋</a></li>
						<li><a href="#">斯巴达克斯</a></li>
						<li><a href="#">太阳的后羿</a></li>
						<li><a href="#">欢乐颂</a></li>
					</ul>
				</div>				
			</div>			
		</div>
		<div class="ly-detail">
			<div class="left">
				<img src="img/film.jpg" alt="" />
			</div>
			<div class="right">
				<p class="p1"><span class="mc">幻城</span><span class="pf">3.8</span><span class="js">更新<span class="js-now">52</span>集/全62集</span></p>
				<p>
					<span class="title">年代：</span><span>2016</span>
					<span class="title">地区：</span><span>大陆</span>
					<span class="title">类型：</span><span>玄幻</span>
				</p>
				<p>
					<span class="title">演员：</span><span>范冰冰 吴亦凡 </span>
					<span class="title">导演：</span><span>大陆</span>
				</p>
				<p>
					<span class="title">简介：</span><span class="jj">损失多少大大所大所大所大所多撒大所大所多撒大所大所多撒大所大所大所大所大所大所大所大所多打算打算大大大所大所损失多少大大所大所大所大所多撒大所大所多撒大所大所多撒大所大所大所大所大所大所大所大所多打算打算大大大所损失多少大大所大所大所大所多撒大所大所多撒大所大所多撒大所大所大所大所大所大所大所大所多打算打算大大大所</span>
					<span class="zk">展开&gt;&gt;</span>
				</p>
				<div class="cose">
					<span class="tit">最新视频</span>
					<a href="#" class="zy-jj">全部剧集&gt;</a>																											
				</div>
				<div class="zy">
					<ul class="zy-ul">
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
					</ul>				
				</div>				
				
			</div>
			<div class="advier"></div>
			<div class="ly-xy" style="margin-top: 20px;">
				<div class="cose" style="padding-bottom:10px;border-bottom:1px solid #d4d4d4">
					<span class="pic zy-big"><img src="img/ly1.png" alt="" /></span>
					<span class="zy-tit">全部剧集</span>
					<div class="flt-r">
						<span>来源站点：</span>
						<span class="zd"><img src="img/ly1.png" alt="" />爱奇艺</span>
						<span class="zd"><img src="img/ly3.png" alt="" />腾讯</span>
						<span class="zd"><img src="img/ly2.png" alt="" />搜狐</span>
						<span class="zd more">
							更多<i class="fa fa-caret-down" aria-hidden="true"></i>
							<ul class="more-ul">
								<li class="zd"><img src="img/ly1.png" alt="" />爱奇艺</li>
								<li class="zd"><img src="img/ly2.png" alt="" />搜狐</li>
							</ul>
						</span>
						
					</div>																								
				</div>
				<div class="zy">
					<ul class="zy-all">
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
						<a href="#">
							<li>
								<img src="img/film.jpg" alt="" />
								<p>第二期：点击时的就开始了解到卡上</p>
								<span>2016-11-11期</span>
							</li>
						</a>
					</ul>				
				</div>	
			</div>
			<p class="big-style">看过此片的还喜欢</p>
			<ul class="only ly-like">
				<a href="#">	
					<li>
						<img src="img/film.jpg" alt="" />
						<p class="c-title">画皮简介简介简介</p>
					    <p class="c-word">简介简介简介</p>
					    <span class="bj">独播</span>
					</li>
				</a>
				<a href="#">	
					<li>
						<img src="img/film.jpg" alt="" />
						<p class="c-title">画皮简介简介简介</p>
					    <p class="c-word">简介简介简介</p>
					    <span class="bj">独播</span>
					</li>
				</a>
				<a href="#">	
					<li>
						<img src="img/film.jpg" alt="" />
						<p class="c-title">画皮简介简介简介</p>
					    <p class="c-word">简介简介简介</p>
					    <span class="bj">独播</span>
					</li>
				</a>
				<a href="#">	
					<li>
						<img src="img/film.jpg" alt="" />
						<p class="c-title">画皮简介简介简介</p>
					    <p class="c-word">简介简介简介</p>
					    <span class="bj">独播</span>
					</li>
				</a>
				<a href="#">	
					<li>
						<img src="img/film.jpg" alt="" />
						<p class="c-title">画皮简介简介简介</p>
					    <p class="c-word">简介简介简介</p>
					    <span class="bj">独播</span>
					</li>
				</a>
			</ul>
			
			<div class="enjoy">
				<p class="big-style">
					<span class="ly-pl ly-pl-choose">评论</span><span class="ly-pl">精彩影评</span>
					<span class="tj">排行推荐</span>
				</p>
				<div class="ment">
					<p><span>文明上网理性发言，请遵守新闻评论服务协议</span><span class="munb">11条评论</span></p>
					<textarea class="inflow"></textarea>
					<p><a href="#" class="fabiao">登陆后发表</a></p>
					<ul class="tab-pl">
						<li class="li-g">所有评论</li>
						<li>我的点评</li>
					</ul>
					<div class="pl-detail">
						<div class="pic">
							<img src="img/3.jpg" alt="" />
						</div>
						<div class="right-sr">
							<p><span>用户名字</span><span class="timer">10分钟前</span><span class="jb">举报</span></p>
							<p class="content">时间大家都了解奥斯卡来得及啊开始了就打开撒角度来看撒娇的空间撒开了多久啊水利科技的历史</p>
							<p>
								<span class="make">赞</span>
								<span class="count">(50)</span>
								<span class="make">回复</span>
								<span class="count">(1)</span>
								<span class="make">分享</span>
							</p>
							<div class="inflow-argin">
								<input type="text" name="" value="" />
								<span>输入0/140字</span>
								<span class="answer">回复</span>
							</div>
							<div class="pl-detail">
								<div class="pic">
									<img src="img/3.jpg" alt="" class="img-s"/>
								</div>
								<div class="right-sr">
									<p><span>用户名字</span><span class="timer">10分钟前</span></p>
									<p class="content">时间大家都了解奥斯卡来得及啊开始了就打开撒角度来看撒娇的空间撒开了多久啊水利科技的历史</p>
									<p>
										<span class="make">赞</span>
										<span class="count">(50)</span>
										<span class="make">回复</span>
										<span class="count">(1)</span>
									</p>									
								</div>
							</div>
							<div class="pl-detail">
								<div class="pic">
									<img src="img/3.jpg" alt="" class="img-s"/>
								</div>
								<div class="right-sr">
									<p><span>用户名字</span><span class="timer">10分钟前</span></p>
									<p class="content">时间大家都了解奥斯卡来得及啊开始了就打开撒角度来看撒娇的空间撒开了多久啊水利科技的历史</p>
									<p>
										<span class="make">赞</span>
										<span class="count">(50)</span>
										<span class="make">回复</span>
										<span class="count">(1)</span>
									</p>									
								</div>
							</div>
							<a href="#" class="more">查看更多回复</a>
						</div>
					</div>
					<div class="jz">
						<a href="#">加载更多</a>
					</div>
				</div>
				<div class="ment ly-disnone">
					<ul class="ly-other-pl">
						<li>
							<span class="namer">我是丘比特</span>
							<span class="timer">2015-12-14</span>
							<p>时间大家都了解奥斯卡来得及啊开始了就打开撒角度时间大家都了解奥斯卡来得及啊开始了就打开撒角度时间大家都了解奥斯卡来得及啊开始了就打开撒角度</p>
						</li>
						<li>
							<span class="namer">我是丘比特</span>
							<span class="timer">2015-12-14</span>
							<p>时间大家都了解奥斯卡来得及啊开始了就打开撒角度时间大家都了解奥斯卡来得及啊开始了就打开撒角度时间大家都了解奥斯卡来得及啊开始了就打开撒角度</p>
						</li>
					</ul>
					<div class="jz">
						<a href="#">加载更多</a>
					</div>
				</div>
				<div class="paiming">
					<div class="boox ws-one">
						<ul>
				    		<a href="#">
				    			<li class="lione">
					    			<span class="img-bc">
					    				<img src="img/film.jpg" alt="" />
					    				<div class="zzc">					    					
					    				</div>
					    			</span>
					    			<span class="num number">1</span>
					    			<span class="mcc word">花千骨</span>
					    			<span class="sjj jt"><img src="img/up.png" alt="" /></span>
					    		</li>
				    		</a>
				    		<a href="#">
					    		<li>
					    			<span class="img-bc display-none" >
					    				<img src="img/film.jpg" alt="" />
					    				<div class="zzc">					    					
					    				</div>
					    			</span>
					    			<span class="num">2</span>
					    			<span class="mcc callname">花千骨</span>
					    			<span class="sjj"><img src="img/up.png" alt="" /></span>
					    		</li>
					    	</a>
				    		<a href="#">
					    		<li>
					    			<span class="img-bc display-none" >
					    				<img src="img/film.jpg" alt="" />
					    				<div class="zzc">					    					
					    				</div>
					    			</span>
					    			<span class="num">3</span>
					    			<span class="mcc callname">花千骨</span>
					    			<span class="sjj"><img src="img/up.png" alt="" /></span>
					    		</li>
					    	</a>
					    	<a href="#">
					    		<li>
					    			<span class="img-bc display-none" >
					    				<img src="img/film.jpg" alt="" />
					    				<div class="zzc">					    					
					    				</div>
					    			</span>
					    			<span class="num">4</span>
					    			<span class="mcc callname">花千骨</span>
					    			<span class="sjj"><img src="img/up.png" alt="" /></span>
					    		</li>
					    	</a>
					    	<a href="#">
					    		<li>
					    			<span class="img-bc display-none" >
					    				<img src="img/film.jpg" alt="" />
					    				<div class="zzc">					    					
					    				</div>
					    			</span>
					    			<span class="num">5</span>
					    			<span class="mcc callname">花千骨</span>
					    			<span class="sjj"><img src="img/down.png" alt="" /></span>
					    		</li>
					    	</a>
				    	</ul>
				    	<a href="#">
				    	    <div class="guanggao">
				    	    </div>
				    	</a>
					</div>			    			    	
			    </div>
			</div>
		</div>
		<!--footer-->
	    <div class="footer">
	    	<div class="footer-bd">
	    		<ul>
	    			<li><a href="#">公司介绍</a>|</li>
	    			<li><a href="#">新闻动态</a>|</li>
	    			<li><a href="#">联系方式</a>|</li>
	    			<li><a href="#">招聘英才</a>|</li>
	    			<li><a href="#">帮助与反馈</a>|</li>
	    			<li><a href="#">侵权投诉</a>|</li>
	    			<li><a href="#">About Us</a></li>
	    		</ul>
	    		<p class="bq">
	    			Copyright © 2016 All Rights Reserved.
	    		</p>
	    	</div>
	    </div>
		
	</body>
	
	<script type="text/javascript" src="js/jquery-2.2.3.min.js" ></script>
	<script src="js/pages.js"></script>   
	<script type="text/javascript">
	    $('.more').hover(function(){
	    	$('.more-ul').show()
	    },function(){
	    	$('.more-ul').hide()
	    })
		
		$('.zd').each(function(index){
			$(this).click(function(){
		    	var srcP=$(this).children('img').attr('src');
		    	var textP=$(this).text();
		    	$('.cose .pic img').attr('src',srcP);

		    })
		})	   
		
		$('.ly-pl').each(function(index){
			$(this).click(function(){
				$(this).addClass('ly-pl-choose').siblings().removeClass('ly-pl-choose');
				$('.ment').addClass('ly-disnone')
				$('.ment').eq(index).removeClass('ly-disnone');
			})			
		})
		//scroll的长度
		var scrollWidth=242*$('.ly-scroll li').length-12;
		var leftWidth=scrollWidth-1200;
	    $('.ly-scroll').width(scrollWidth);
		//scroll
		$('.ly-btn-left').hover(function(){
		var nowLeft=parseInt($('.ly-scroll').css('marginLeft'));
		var lastWidth=leftWidth+nowLeft;
		var timerLeft=lastWidth*10;
		$('.ly-scroll').animate({marginLeft:-leftWidth},timerLeft,'linear');
		},function(){
		$('.ly-scroll').stop();
		});
		$('.ly-btn-right').hover(function(){
		var nowLeft=parseInt($('.ly-scroll').css('marginLeft'));
		var timerRight=-nowLeft*10;
		$('.ly-scroll').animate({marginLeft:0},timerRight,'linear');
		},function(){
		$('.ly-scroll').stop();
		});
		//hover播放		
		$(".ly-scroll li").hover(function(){
			if($(this).append(" <div class='run'></div>")){
			    $('.run').append('<img src="img/run.png" alt="" />')
		    }
		},function(){
			if($(this).remove(".run")){
			    $('.run').remove();
		    }
		});
		$(".ly-like li").hover(function(){
			if($(this).append(" <div class='run-long'></div>")){
			    $('.run-long').append('<img src="img/run.png" alt="" />')
		    }
		},function(){
			if($(this).remove(".run-long")){
			    $('.run-long').remove();
		    }
		});
		$(".zy-ul li").hover(function(){
			if($(this).append(" <div class='run'></div>")){
			    $('.run').append('<img src="img/run.png" alt="" />')
		    }
		},function(){
			if($(this).remove(".run")){
			    $('.run').remove();
		    }
		});
		$(".zy-all li").hover(function(){
			if($(this).append(" <div class='run'></div>")){
			    $('.run').append('<img src="img/run.png" alt="" />')
		    }
		},function(){
			if($(this).remove(".run")){
			    $('.run').remove();
		    }
		});
		//
		$('.ws-one ul li').each(function(index){
				$(this).mouseover(function(){
					$('.ws-one ul li').removeClass('lione');
					$(this).addClass('lione');
					$(this).parent().siblings().find('.img-bc').addClass('display-none');
					$(this).children('.img-bc').removeClass('display-none');
					$(this).parent().siblings().find('.num').removeClass('number');
					$(this).children('.num').addClass('number');
					$(this).parent().siblings().find('.mcc').removeClass('word').addClass('callname');
					$(this).children('.mcc').addClass('word');
					$(this).parent().siblings().find('.sjj').removeClass('jt');
					$(this).children('.sjj').addClass('jt');
				})
			})
	</script>
</html>

